var COLS = 100;
var ROWS = 25;
var CELL_SIZE = 28;
var HALF_SIZE = CELL_SIZE / 2;

var LAND = 1;
var WOOD = 2;
var ROCK = 3;
var ROCK_WOOD = 5;
var PUMPKIN = 6;
var DONUT = 7;
var PIPE = 8;
var STRAWBERRY = 9;
var BLACK_BIRD_BULLET = 10;
var YELLOW_BIRD_BULLET = 11;
var MAPS = [];

// get data from file
console.log("Load map");
$.getJSON('map_data.json', function(json) {
    console.log("Load map...");
    for (var i = 0; i < json.maps.map.length; i++) {
        MAPS.push({
           enemies: json.maps.map[i].enemies,
           data: json.maps.map[i].data 
        });
    }
});